<?php
/**
 * Created by PhpStorm.
 * User: Liulibao
 * Date: 2019/10/11
 * Time: 20:37
 */

namespace app\common\validate;


use think\Validate;

class Affichetype extends Validate
{
    protected $rule = [
        ['name', 'require', '公告分类名称不能为空'],
    ];

    protected $scene = [
        'affichetype' => ['name']
    ];
}